package com.expert.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @ClassName: JwtProperties
 * @Author: cxs
 * @Date: 2024/01/18 18:43
 * @Description:
 **/
@Component
@Data
@ConfigurationProperties(prefix = "expert.jwt")
public class JwtProperties {

    /**
     * jwt令牌相关配置
     */
    private String refreshSecretKey;
    private  long refreshTtl;
    private String accessSecretKey;
    private  long accessTtl;
    private String accessTokenName;
}
